package com.ztesoft.web.common.db.dao.mapper;

import com.ztesoft.web.common.db.arg.DmIndexInfoArg;
import com.ztesoft.web.common.db.po.DmIndexInfoPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IDmIndexInfoMapper {
    
    List<Integer> countByArg(DmIndexInfoArg arg);

    List<DmIndexInfoPO> selectByArg_(DmIndexInfoArg arg);
    
    List<DmIndexInfoPO> selectByArg(DmIndexInfoArg arg);

    DmIndexInfoPO selectByPrimaryKey(Integer id);
    
    DmIndexInfoPO selectByDataId(Integer id);

    List<DmIndexInfoPO> selectByArgAndPage(DmIndexInfoArg arg, RowBounds rowBound);

    int insert(DmIndexInfoPO record);

    int insertSelective(DmIndexInfoPO record);

    int insertBatch(@Param("list") List<DmIndexInfoPO> records);

    int updateByArgSelective(@Param("record") DmIndexInfoPO record,
            @Param("arg") DmIndexInfoArg arg);

    int updateByArg(@Param("record") DmIndexInfoPO record,
            @Param("arg") DmIndexInfoArg arg);

    int updateByPrimaryKeySelective(DmIndexInfoPO record);
    
    int updateByDataIdSelective(DmIndexInfoPO record);

    int updateByPrimaryKey(DmIndexInfoPO record);
    
    int deleteByArg(DmIndexInfoArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}